public class Main {
        public static void main(String argv[]){
                MotorCautare a=new MotorCautare();
                a.adaugaRuta("Aradu Nou", "Timisoara", 48, false, true, false, false);
                a.adaugaRuta("Timisoara", "Recas", 16, false, true, false, false);
                a.adaugaRuta("Recas", "Topolovat", 50, false, true, false, false);
                a.adaugaRuta("Recas", "Jebel", 60, false, true, false, false);
                a.adaugaRuta("Jebel", "Deta", 7, false, true, false, false);

                a.calculRuta("Aradu Nou", "Deta");
        }
}
